[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
UNLOAD_SCR Introduced: v3.12
. Summary
unload_scr(str <filename>);
. Description
The load_scr function can be used by a script file to load another
script into memory ahead of time (before it is run). The unload_scr
function should then be used to unload or take out this script when
it is no longer needed. <filename> is the name of the script file to
unload, and if no extension is given, ".SLC" is assumed. Note that a
script that is currently executing or that is nested (has called the
current script) must not be unloaded, since Telix is still executing
it or will return to it eventually!
. Return Value
If there is a problem unloading the script file, a value of -1 is
returned. Otherwise a non-zero (TRUE) value is returned.
. Example
int stat;
stat = load_scr("TEST"); // load TEST.SLC
... // do other things
unload_scr("TEST"); // take TEST.SLC out of memory
See Also:
call
calld
load_scr
is_loaded
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson